﻿<%@ Page Title="" Language="C#" MasterPageFile="~/pagina_maestra_admin.master" AutoEventWireup="true" CodeFile="listado_productos.aspx.cs" Inherits="listado_productos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="area_de_contenidos_admin" Runat="Server">
	<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
		ConnectionString="<%$ ConnectionStrings:web_gioman_palletsConnectionString %>" 
		
		
		SelectCommand="SELECT [nombre], [medida], [soporte], [ruta_a_imagen] as [imágen] FROM [productos]"></asp:SqlDataSource>

	<br />
	<br />
	<br />
	<br />
	<br />
	<br />
	<br />
	<br />

	<asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
		AllowSorting="True" AutoGenerateColumns="False" BackColor="#DEBA84" 
		BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
		CellSpacing="2" DataSourceID="SqlDataSource1" 
		PageSize="5">
		<Columns>
			<asp:BoundField DataField="nombre" HeaderText="nombre" 
				SortExpression="nombre" />
			<asp:BoundField DataField="medida" HeaderText="medida" 
				SortExpression="medida" />
			<asp:BoundField DataField="soporte" HeaderText="soporte" 
				SortExpression="soporte" />
			<asp:BoundField DataField="imágen" HeaderText="imágen" 
				SortExpression="imágen" />
		</Columns>
		<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
		<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
		<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
		<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
		<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
		<SortedAscendingCellStyle BackColor="#FFF1D4" />
		<SortedAscendingHeaderStyle BackColor="#B95C30" />
		<SortedDescendingCellStyle BackColor="#F1E5CE" />
		<SortedDescendingHeaderStyle BackColor="#93451F" />
	</asp:GridView>

</asp:Content>

